home *** CD-ROM | disk | FTP | other *** search
- 1 if a=0 then print"";:poke 53281,0:poke 53280,0
- 22 if a=0 then a=1:load"cal.obj",8,1
- 25 clr:dimd$(42)
- 30 dn$=""
- 40 rt$=""
- 41 dimy$(5):fori=1to5:ready$(i):next
- 42 data 1,9,8,8,"[213]p[212]ime"
- 43 dimm$(15):fori=1to15:readm$(i):next
- 44 data " [202]anuary ","[198]ebruary "," [205]arch "
- 45 data " [193]pril "," [205]ay "," [202]une "
- 46 data " [202]uly "," [193]ugust ","[211]eptember"
- 47 data " [207]ctober ","[206]ovember ","[196]ecember "
- 48 data " [213]p[212]ime "," "," [210]estart "
- 50 dimmnth$(12),maxday(12),days(31)
- 52 fori=1to12:readmnth$(i),maxday(i):next
- 54 data "[202]anuary",31,"[198]ebruary",29,"[205]arch",31
- 56 data"[193]pril",30,"[205]ay",31,"[202]une",30
- 58 data"[202]uly",31,"[193]ugust",31,"[211]eptember",30
- 60 data"[207]ctober",31,"[206]ovember",30,"[196]ecember",31
- 62 dimc$(5):fori=1to5:readc$(i):next
- 64 data" [197]nter [221]"," [204]oad [221]"," [211]ave [221]","[210]estart[221]"," [213]p[212]ime "
- 66 dimw$(7):fori=0to6:readw$(i):next
- 68 data"[211]unday","[205]onday","[212]uesday","[215]ednesday","[212]hursday","[198]riday","[211]aturday"
- 80 printchr$(14);chr$(8);
- 100 gosub9200
- 110 printtab(8)"[196]aily data record keeper"
- 115 printtab(8)"(c)1988 [194]arbara [211]chulak"
- 120 print""tab(9)"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 130 printtab(9)"[221][159] [201]nstructions [[217]/[206]] [146][221]"
- 135 printtab(9)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
- 140 printtab(14)"[150][176][192][192][192][192][192][192][192][192][192][174]"
- 142 printtab(14)"[150][221][146] [221]"
- 144 printtab(14)"[150][221][146] [158][172] [146] [150][221]"
- 146 printtab(14)"[150][221][146] [158] [146] [150][221]"
- 148 printtab(14)"[150][221][146] [158] [146] [150][221]"
- 150 printtab(14)"[150][221][146] [158][175][175][175][146] [150][221]"
- 152 printtab(14)"[150][221][146] [221]"
- 154 printtab(14)"[150][173][192][192][192][192][192][192][192][192][192][189]"
- 185 print"[155] [208]ublished by [211]oftdisk [208]ublishing, [201]nc.";
- 187 poke 198,0
- 188 getk$:ifk$=""then188
- 190 ifk$="y"thengosub10000:goto 200
- 195 if k$<>"n" then 188
- 200 print"[147]":ff=0:gosub9200
- 205 print"[154]"spc(5)"[211]elect year greater than 1752"
- 210 r=8:c=11:gosub9000
- 215 print"[154][176][192][174][176][192][174][176][192][174][176][192][174][153][176][192][192][192][192][192][192][174]"
- 220 printtab(11)"[154][221] [221][221] [221][221] [221][221] [221][153][221] [221]"
- 225 printtab(11)"[154][173][192][189][173][192][189][173][192][189][173][192][189][153][173][192][192][192][192][192][192][189]"
- 226 gosub9600
- 230 r=9:c=12:gosub9000
- 235 fori=1to5:print""y$(i)"";:next
- 240 x=1:r=9:c=12:poke 198,0
- 245 gosub9000:print""y$(x)
- 250 getk$
- 251 ifk$=chr$(13)andx=5then sys 8*4096+4
- 252 ifk$=chr$(13)then300
- 255 ifk$=""thenx=x+1:c=c+3:ifx>5thenx=1:c=12
- 260 ifk$="[157]"thenx=x-1:c=c-3:ifx<1thenx=5:c=24
- 261 k=asc(y$(x))
- 265 ifk$="[145]"thenk=asc(y$(x)):k=k+1:ifk>57thenk=48
- 270 ifk$=""thenk=asc(y$(x)):k=k-1:ifk<48thenk=57
- 272 ifx<5theny$(x)=chr$(k)
- 275 gosub9000:print"[146]"y$(x):goto245
- 300 yr$="":fori=1to4:yr$=yr$+y$(i):next:yr=val(yr$):ff=yr:y1$=yr$
- 305 ifff<1753then200
- 318 gosub9200
- 319 print"[154]"spc(18)yr$
- 320 r=3:c=0:gosub9000
- 322 fori=1to4
- 325 printtab(4)"[176][192][192][192][192][192][192][192][192][192][174][176][192][192][192][192][192][192][192][192][192][174][176][192][192][192][192][192][192][192][192][192][174]"
- 330 printtab(4)"[221] [221][221] [221][221] [221]"
- 335 printtab(4)"[173][192][192][192][192][192][192][192][192][192][189][173][192][192][192][192][192][192][192][192][192][189][173][192][192][192][192][192][192][192][192][192][189]":next
- 337 printtab(4)"[153][176][192][192][192][192][192][192][192][192][192][174][176][192][192][192][192][192][192][192][192][192][174][176][192][192][192][192][192][192][192][192][192][174]"
- 338 printtab(4)"[221] [221][221] [221][221] [221]"
- 339 printtab(4)"[173][192][192][192][192][192][192][192][192][192][189][173][192][192][192][192][192][192][192][192][192][189][173][192][192][192][192][192][192][192][192][192][189]"
- 340 r=4:c=0:gosub9000
- 342 fori=1to15step3
- 345 printtab(5)"[150]"m$(i)"";m$(i+1)""m$(i+2)
- 350 print:print:next
- 355 gosub9100
- 400 x=1:r=4:c=5
- 401 gosub9000:print"[150]"m$(x)
- 405 getk$
- 407 if k$="[140]" then sys 8*4096+4
- 410 ifk$=chr$(13)andk=14then405
- 411 ifk$=chr$(13)andx=13then sys 8*4096+4
- 412 ifk$=chr$(13)andx=15then200
- 413 ifk$=chr$(13)andx<13then500
- 415 ifk$=""thenx=x+1:c=c+11:ifc>27thenc=c-11:x=x-1
- 420 ifk$="[157]"thenx=x-1:c=c-11:ifc<5thenc=c+11:x=x+1
- 430 ifk$="[145]"thenx=x-3:r=r-3:ifx<1thenx=x+3:r=r+3
- 440 ifk$=""thenx=x+3:r=r+3:ifx>15thenx=x-3:r=r-3
- 490 gosub9000:print"[146]"m$(x):goto401
- 500 gosub9200
- 501 dt$=mn$(x)+" "+yr$:print"[154]"tab((40-len(dt$))/2)dt$:mn=x:ff=ff+x:mo=x
- 505 print
- 510 printtab(9)"[176][192][192][178][192][192][178][192][192][178][192][192][178][192][192][178][192][192][178][192][192][174]"
- 512 printtab(9)"[221][160][160][221][160][160][221][160][160][221][160][160][221][160][160][221][160][160][221][160][160][221]"
- 516 fori=1to6
- 518 printtab(9)"[171][192][192][219][192][192][219][192][192][219][192][192][219][192][192][219][192][192][219][192][192][179]"
- 520 printtab(9)"[221][150] [146][221][150] [146][221][150] [146][221][150] [146][221][150] [146][221][150] [146][221][150] [146][221]"
- 522 next
- 524 printtab(9)"[173][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][189]"
- 526 print"[153]"tab(10)"[211] [205] [212] [215] [212] [198] [211] "
- 527 gosub9100
- 530 gosub6000
- 540 gosub1600
- 550 r=7:c=10:x=1:poke 198,0
- 560 gosub9000:print"[150]"d$(x)
- 565 getk$
- 567 if k$="[140]" then sys 8*4096+4
- 570 ifk$=chr$(13)andd$(x)<>" "then600
- 575 ifk$=""thenx=x+1:c=c+3:ifc>28thenx=x-1:c=c-3
- 580 ifk$="[157]"thenx=x-1:c=c-3:ifc<10thenc=c+3:x=x+1
- 585 ifk$="[145]"thenx=x-7:r=r-2:ifr<7thenr=r+2:x=x+7
- 590 ifk$=""thenx=x+7:r=r+2:ifr>17thenr=r-2:x=x-7
- 595 gosub9000:print"[146][150]"d$(x):goto560
- 600 f$=left$(mn$(mo),3)+d$(x)+y1$
- 605 print"[147]";:sys49609:rem fill color
- 610 gosub900
- 615 gosub9700
- 626 gosub2000
- 630 getk$
- 631 ifk$=chr$(13)then700
- 635 ifk$=""thengosub9000:print"[154]"c$(x):x=x+1:c=c+8:ifx>5thenx=1:c=0
- 640 ifk$="[157]"thengosub9000:print"[154]"c$(x):x=x-1:c=c-8:ifx<1thenx=5:c=32
- 645 ifk$=""ork$="[157]"thengosub9000:print"[155]"left$(c$(x),7)
- 650 goto630
- 700 ifx=5thensys 8*4096+4
- 705 ifx=4then200
- 710 ifx=3thengosub3000:goto615
- 715 ifx=2thengosub2000:goto615
- 720 print"[150] [193]ppointment [195]alendar [198]1 = [205]enu "
- 730 sys49152
- 735 gosub9700:goto630
- 740 :
- 900 print"[146][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]";
- 905 print"[221] [221]";
- 906 print"[171][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][179]";
- 910 fori=1to20:print"[221] [221]";:next
- 920 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]":poke2023,125:poke56295,1
- 925 dt$=w$(days(val(d$(x))))+" "+mn$(mo)+" "+d$(x)+", "+y1$:print
- 926 remprint""tab((40-len(dt$))/2);dt$
- 927 r=2:c=(40-len(dt$))/2:gosub9000:printdt$
- 930 return
- 1600 d=1:f=0:print"";
- 1605 forx=1toeom
- 1610 if(day(1)=0)then1650
- 1615 iff=1then1650
- 1620 f=1:b=day(1)
- 1630 forx1=1tob:print"[150] ";:d$(d)=" ":d=d+1
- 1640 next
- 1650 x$=str$(x):iflen(x$)>2thenx$=right$(x$,2)
- 1655 d$(d)=x$:d=d+1
- 1660 print"[150]";x$;"";
- 1670 ifpeek(211)>29thenprint:print"";
- 1680 next
- 1685 fori=dto42:d$(i)=" ":next
- 1690 return
- 1695 :
- 2000 poke147,0
- 2010 sys57812f$,8,1
- 2020 sys62631
- 2025 gosub9500
- 2030 return
- 2040 :
- 3000 open15,8,15,"s0:"+f$:close15
- 3005 sys57812f$,8,1
- 3010 poke193,0:poke194,4
- 3020 poke174,0:poke175,8
- 3030 sys62957
- 3040 return
- 3050 :
- 6000 eom=maxday(mn)
- 6010 ifmn<>2then6040
- 6020 day=29:mn=12:yr=yr-1:gosub6080
- 6025 t0=t:day=1:mn=1:yr=yr+1:gosub6080:mn=2
- 6030 ift=t0theneom=28
- 6040 mn=mn-2:if(mn<1)or(mn>10)thenmn=mn+12:yr=yr-1
- 6050 cent=int(yr/100)
- 6060 yr=yr-(cent*100)
- 6070 forday=1toeom:gosub6080:days(day)=t
- 6075 next:return
- 6080 ly=int(yr/4):lc=int(cent/4)
- 6090 t=(2.6*mn-.2)+day+yr+ly+lc-cent-cent
- 6100 t=int(t)-(int(t/7)*7):return
- 9000 printleft$(dn$,r+1);
- 9010 printleft$(rt$,c);
- 9020 return
- 9030 :
- 9100 r=20:c=0:gosub9000
- 9105 print"[156][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]";
- 9110 print"[221][159] [195][213][210][211][207][210] keys and [210][197][212][213][210][206] to select [146][156][221]";
- 9115 print"[221][159] [198]8 for [213]p[212]ime [146][156][221]";
- 9120 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]";
- 9125 return
- 9130 :
- 9200 print"[147] [193]ppointment [195]alendar "
- 9210 return
- 9500 open15,8,15:input#15,e,e$,e1,e2
- 9505 if e=0 then 9525
- 9510 print""spc(2)"[212]here is no file on disk"
- 9511 printspc(2)"for this date."
- 9515 fort=1to1500:next
- 9520 print""spc(2)" "
- 9521 printspc(2)" "
- 9525 close15:poke 198,0:return
- 9600 r=20:c=0:gosub9000
- 9605 print"[156][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]";
- 9610 print"[221][159] [195][213][210][211][207][210] keys to change numerals [146][156][221]";
- 9615 print"[221][159] [210][197][212][213][210][206] when finished [146][156][221]";
- 9620 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]";
- 9625 return
- 9630 :
- 9700 print"";:fori=1to5:print"[154]"c$(i);:next
- 9705 x=1:c=0:r=0
- 9710 gosub9000:print"[155]"left$(c$(x),7)
- 9715 return
- 9720 :
- 9999 :
- 10000 print"[147][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]";
- 10005 print"[221][158] [193]ppointment [195]alendar[158] [221]";
- 10010 print"[171]{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}[179]";
- 10015 print"[221] [221]";
- 10020 print"[221] [159][212]his program will allow you to [221]";
- 10025 print"[221] [159]store notes, appointments or what- [221]";
- 10030 print"{$7d}[159] ever you would like for any day of[158] {$7d}";
- 10035 print"[221] [159]any year. [201]t would make a great [221]";
- 10040 print"[221] [159]diary. [221]";
- 10045 print"[221] [159][212]o use the program, first [221]";
- 10050 print"[221] [159]select the year by using the cursor [221]";
- 10055 print"[221] [159]keys. [213]se the right or left cursor [221]";
- 10060 print"[221] [159]key to choose the digit and the [221]";
- 10065 print"[221] [159]cursor up and down keys to increase [221]";
- 10070 print"[221] [159]or lower the number. [215]hen finished, [221]";
- 10075 print"[221] [159]press [210][197][212][213][210][206]. [221]";
- 10080 print"[221] [159][212]hen select the month by using [221]";
- 10085 print"[221] [159]the cursor keys to highlight your [221]";
- 10090 print"[221] [159]choice and then press [210][197][212][213][210][206]. [221]";
- 10095 print"[221] [159][198]ollow the same procedure to [221]";
- 10100 print"[221] [159]select the day of the week. [221]";
- 10105 print"[221] [221]";
- 10110 print"[171]{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}[179]";
- 10115 print"[221] [208]ress [210][197][212][213][210][206] [158] [221]";
- 10120 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]";:poke2023,125:poke56295,1
- 10125 getk$:ifk$<>chr$(13)then10125
- 10130 print"[147][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]";
- 10135 print"[221] [193]ppointment [195]alendar [221]";
- 10140 print"[171]{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}[179]";
- 10145 print"[221] [221]";
- 10150 print"[221] [159][217]ou will now be presented with [221]";
- 10155 print"[221] [159]a page of the calendar. [201]f you have [221]";
- 10160 print"[221][159] a page on disk, it will be automati- [221]";
- 10165 print"[221] [159]cally loaded. [201]n addition to load, [221]";
- 10170 print"[221] [159]you may save a page, enter data, [221]";
- 10171 print"[221] [159]restart the program or exit to [221]";
- 10175 print"[221] [159][213]p[212]ime. [213]se the right/left cursor [221]";
- 10180 print"[221] [159]keys again to select your choice and [221]";
- 10185 print"[221] [159]then press [210][197][212][213][210][206]. [221]";
- 10190 print"[221][159] [200]aving chosen [197][206][212][197][210], a flashing [221]";
- 10195 print"[221] [159]cursor will appear on the calendar [221]";
- 10200 print"[221] [159]page. [211]imply start writing. [212]he [221]";
- 10205 print"[221] [159]normal cursor keys, home, clear, [221]";
- 10210 print"[221] [159]return, insert and delete keys are [221]";
- 10215 print"[221] [159]all functional. [212]o exit and regain [221]";
- 10220 print"[221] [159]access to the menu, press [198]1. [194]e [221]";
- 10225 print"[221] [159]sure to save a page when finished. [221]";
- 10235 print"[221] [221]";
- 10240 print"[171]{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}[179]";
- 10245 print"[221] [208]ress [210][197][212][213][210][206] [158] [221]";
- 10250 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]";:poke2023,125:poke 56295,1
- 10255 getk$:ifk$<>chr$(13)then10255
- 10260 return
-